home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / misc / SetIntPri10.lha / SetIntPri.doc < prev   
Text File  |  1994-12-09  |  3KB  |  86 lines

  1.  
  2.               SetIntPri V1.0 DOCS
  3.               ===================
  4.  
  5.         (c) 1994 by SiliconSurfer/Phantasm
  6.            SiliconSurfer@Dame.sh.sub.de
  7.  
  8.       SetIntPri V1.0 is freely distributable
  9.  
  10.  
  11.  
  12.    SetIntPri  is  used  to  change the priority of any interrupt server.
  13.    OS2.04+  ist required.  It DOES need to be given the full name of the
  14.    interrupt  server  to  change.   This  was  written as a simple shell
  15.    command  that  does not need a GUI and can be used in scripts or from
  16.    the shell.
  17.  
  18.    This program was written to help a well-known sysop in Hamurg/Germany
  19.    with his 8 nodz Amiga BBS.
  20.  
  21.  
  22. USAGE
  23.  
  24.    Although  SetIntPri  will run from the Workbench, it will only really
  25.    make  sense  to  run  it  from  the  shell or a script.  It takes the
  26.    ReadArgs template :
  27.  
  28.    NAME/A,PRIORITY/A/N,Q=QUIET/S
  29.  
  30.    NAME  is  the name of the interrupt server to change.  This parameter
  31.    is compulsory and must be an ascii string.
  32.  
  33.    PRIORITY  is  the new priority you wish to give the interrupt server.
  34.    It  must  be  a  number  between  -128  and  +127.  This parameter is
  35.    compulsory.
  36.  
  37.    Q=QUIET  .   Specifying  Q  or  QUIET as the last parameter will stop
  38.    SetIntPri  from  issuing  any  messages.   Useful  for scripts.  This
  39.    parameter is optional.
  40.  
  41.  
  42. EXAMPLES
  43.  
  44.    SetIntPri ciab.resource 50 Q
  45.  
  46.       Sets the priority of the interrupt server ciab.resource (if installed).
  47.       No messages are output.
  48.  
  49.    SetIntPri z3scsi.device 100
  50.  
  51.       Sets the priority of the interrupt server z3scsi.device to 100 and
  52.       reports what it has done to the shell.
  53.  
  54.    SetIntPri NAME AT-IDE PRIORITY 10 QUIET
  55.  
  56.       Changes the priority of the interrupt server AT-IDE to 10 with no
  57.       message reporting. The Keywords are NOT compulsory.
  58.  
  59.  
  60. RETURN CODES
  61.  
  62.    0  :  All was OK, and the interrupt priority was changed
  63.    5  :  There was an error in the ReadArgs parameters
  64.    10 :  The requested priority was out of the range -28 to +127
  65.    20 :  The named interrupt could not be found. Either it was not installed
  66.          or you spelt it wrong.
  67.  
  68.  
  69. COPYRIGHT
  70.  
  71.    I  retain  full  copyright  over  this  program.   It  may  be freely
  72.    distributed  electronically  or  by  reasonable cost PD floppy disks.
  73.    Magazines are specifically forbidden from publishing SetIntPri on any
  74.    coverdisk  without  my  express  written  permission.   Any  magazine
  75.    failing  to  abide  by  this  condition  will  be  held  in breach of
  76.    copyright.
  77.  
  78. DISCLAIMER
  79.  
  80.    Use  this program at your own risk.  I make no claims of it's fitness
  81.    for  purpose and will not be held responsible for any loss, damage or
  82.    injury,  consequential  or  otherwise,  resulting  from  it's  use or
  83.    distribution.
  84.  
  85.  
  86.